<%@ page isELIgnored="false" %>
<%--
  Created by IntelliJ IDEA.
  User: gz
  Date: 2025/02/17
  Time: 12:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
  request.setAttribute("k1","request的数据");
  pageContext.setAttribute("k1","pageContext的数据");
  session.setAttribute("k1","session的数据");
  application.setAttribute("k1","application的数据");
%>
<h1>el表达式的域</h1>
requestScope的k1：${requestScope.k1} <br>
pageScope的k1：${pageScope.k1} <br>
sessionScope的k1：${sessionScope.k1} <br>
applicationScope的k1：${applicationScope.k1} <br>
</body>
</html>
